<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:83:"/app/wwwroot/zhangwei/www/gongzi/public/../application/index/view/manage/index.html";i:1672976419;s:74:"/app/wwwroot/zhangwei/www/gongzi/application/index/view/layout/manage.html";i:1671875144;s:74:"/app/wwwroot/zhangwei/www/gongzi/application/index/view/common/script.html";i:1671875145;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head class="layui-layout-body">
    <meta charset="utf-8">
    <title><?php echo htmlentities($site['name']); ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <meta name="renderer" content="webkit">
    <link href="/assets/css/frontend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo htmlentities(\think\Config::get('site.version')); ?>" rel="stylesheet">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
    <!--[if lt IE 9]>
    <script src="/assets/js/html5shiv.js"></script>
    <script src="/assets/js/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript">
        var require = {
            config: <?php echo json_encode($config); ?>
        };
    </script>
</head>
<body class="layui-layout-body" id="layer1">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-nav layui-layout-right">
            <div class="head_img"><img src="<?php echo cdnurl(htmlentities($user['avatar'])); ?>" alt=""/><?php echo $user['nickname']; ?></div>
        </div>
    </div>
    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧垂直导航区域-->
            <div class="logo"><img src="/assets/manage/images/logo.png" width="64" height="64" alt=""/></div>
            <ul class="layui-nav nav">
                <?php if($auth->check('manage/index')): ?>
                <li class="layui-nav-item <?php echo check_navs_active('manage/index'); ?>">
                    <a href="<?php echo url('manage/index'); ?>"><i class="iconfont icon-shouye"></i>首页</a>
                </li>
                <?php endif; if($auth->check('manage/payslip_add')): ?>
                <li class="layui-nav-item <?php echo check_navs_active('manage/payslip_add'); ?>">
                    <a href="<?php echo url('manage/payslip_add'); ?>"><i class="iconfont icon-gongzitiao"></i>新增工资条</a>
                </li>
                <?php endif; if($auth->check('manage/index')): ?>
                <li class="layui-nav-item <?php echo check_navs_active('manage/payslip_list'); ?>">
                    <a href="<?php echo url('manage/payslip_list'); ?>"><i class="iconfont icon-fasongxiaoxi"></i>发送记录</a>
                </li>
                <?php endif; if($auth->check('manage/payslip_feedback')): ?>
                <li class="layui-nav-item <?php echo check_navs_active('manage/payslip_feedback'); ?>">
                    <a href="<?php echo url('manage/payslip_feedback'); ?>"><i class="iconfont icon-xinxi"></i>反馈查看</a>
                </li>
                <?php endif; if($auth->check('manage/payslip_settings')): ?>
                <li class="layui-nav-item <?php echo check_navs_active('manage/payslip_settings'); ?>">
                    <a href="<?php echo url('manage/payslip_settings'); ?>"><i class="iconfont icon-shezhi2"></i>发放设置</a>
                </li>
                <?php endif; if($auth->check('manage/address_book')): ?>
                <li class="layui-nav-item <?php echo check_navs_active('manage/address_book'); ?>">
                    <a href="<?php echo url('manage/address_book'); ?>"><i class="iconfont icon-bg-maillist"></i>通讯录</a>
                </li>
                <?php endif; ?>
            </ul>
        </div>
    </div>
    <div class="layui-body">
        <div class="content">
    <div class="layui-row layui-col-space24 in_main">
        <div class="layui-col-lg7">
            <div class="layui-card in_item"><a class="add_but" href="<?php echo url('manage/payslip_add'); ?>">立即新建</a></div>
        </div>
        <div class="layui-col-lg2">
            <div class="layui-card in_item2">
                <div class="title">人数</div>
                <h3><?php echo $user_count; ?></h3>
                <div class="text">
                    <p><span>发送成功：</span><?php echo $success_count; ?>条</p>
                    <p><span>发送失败：</span><span class="color_EF4033"><?php echo $error_count; ?>条</span></p>
                </div>
            </div>
        </div>
        <div class="layui-col-lg2">
            <div class="layui-card in_item2">
                <div class="title">金额</div>
                <h3>¥ <?php echo $money_total; ?></h3>
                <div class="text">
                    <p><span>上月金额：</span><?php echo $money_lastmonth; ?></p>
                    <p><span>总计金额：</span><?php echo $money_total; ?></p>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-card in_main2">
        <div class="search_box">
            <form class="layui-form layui-clear" action="">
                <div class="layui-form-item select_year">
                    <label class="layui-form-label">年份</label>
                    <div class="layui-input-inline">
                        <select name="year" lay-filter="year">
                            <?php foreach($years as $year): ?>
                            <option value="<?php echo $year; ?>"><?php echo $year; ?></option>
                            <?php endforeach; ?>
                        </select>
                    </div>
                </div>
                <div class="search_item">
                    <div class="item active" data-value="ygsl">员工数量</div>
                    <div class="item" data-value="sfgz">实发工资</div>
                </div>
            </form>
        </div>
        <div class="in_content">
            <div class="tongji" id="tongji"></div>
        </div>
    </div>
</div>
    </div>
</div>
<link rel="stylesheet" href="/assets/manage/layui/css/layui.css">
<link rel="stylesheet" href="/assets/manage/css/css.css?v=<?php echo htmlentities(\think\Config::get('site.version')); ?>">
<link rel="stylesheet" href="//at.alicdn.com/t/c/font_3789954_npmbld8fjlc.css">
<script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-frontend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version']); ?>"></script>
</body>
</html>